IndexedDBDomain

class IndexedDBDomain : Domain

IndexedDBDomain represents IndexedDB protocol domain request/response operations and events that can be captured.

This API is marked as experimental in protocol definition and can change in the future.

Functions

clearObjectStore
Link copied to clipboard
fun clearObjectStore(input: ClearObjectStoreRequest): Single<RequestResponseFrame>
Clears all entries from an object store.
deleteDatabase
Link copied to clipboard
fun deleteDatabase(input: DeleteDatabaseRequest): Single<RequestResponseFrame>
Deletes a database.
deleteObjectStoreEntries
Link copied to clipboard
fun deleteObjectStoreEntries(input: DeleteObjectStoreEntriesRequest): Single<RequestResponseFrame>
Delete a range of entries from an object store
description
Link copied to clipboard
fun description(): String
Returns domain description.
disable
Link copied to clipboard
fun disable(): Single<RequestResponseFrame>
Disables events from backend.
enable
Link copied to clipboard
fun enable(): Single<RequestResponseFrame>
Enables events from backend.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open override fun getDependencies(): List<Domain>
Returns list of dependant domains that should be enabled prior to enabling this domain.
getMetadata
Link copied to clipboard
fun getMetadata(input: GetMetadataRequest): Single<GetMetadataResponse>
Gets metadata of an object store
name
Link copied to clipboard
fun name(): String
Returns domain name.
requestData
Link copied to clipboard
fun requestData(input: RequestDataRequest): Single<RequestDataResponse>
Requests data from object store or index.
requestDatabase
Link copied to clipboard
fun requestDatabase(input: RequestDatabaseRequest): Single<RequestDatabaseResponse>
Requests database with given name in given frame.
requestDatabaseNames
Link copied to clipboard
fun requestDatabaseNames(input: RequestDatabaseNamesRequest): Single<RequestDatabaseNamesResponse>
Requests database names for given security origin.

Sources

jvm source
Link copied to clipboard